import java.util.*;
public class Test {
        public static void main(String[] args){
            Scanner sc = new Scanner(System.in);
            int n = 4;
            int[] arr = new int[n];
            for(int i = 0;i<n;i++){1
                arr[i] = sc.nextInt();
            }
            int a = arr[0]+arr[2];
            if((int)(a/2)-a/2==0){
                System.out.print(a/2+" ");
                System.out.print((arr[2]-(a/2))+" ");
                System.out.print(arr[3]-(arr[2]-(a/2)));
            }else{
                System.out.print("No");
            }
        }
    }
